<!-- layout::Admin:iframe/header::$tpl_cache_date -->

<!-- Start Page Header -->
<div id="page-header">
<h1><?=$title?></h1>
</div>
<!-- End Page Header -->

<!-- Start Grid -->
<div class="container_12"><!-- Start Table -->
<div class="grid_12">
<div class="box-header"> <span class="fr"><a href="<?=U('node/add',array('pid'=>$_GET['pid']))?>">添加节点</a></span> 节点列表 </div>
<div class="box table">
<table cellspacing="0">
	<thead>
		<tr>
			<td class="tc" width="30"><input type="checkbox" value="" class="checkbox" /></td>
			<td class="tl" width="120">节点名称</td>
			<td class="tl" width="120">显示名</td>
			<td class="tl" width="150">备注</td>
			<td class="tl" width="150">选项</td>
		</tr>
	</thead>
	<tbody>
      <?php
        foreach($list as $k=>$v){
        	$children   = U('node/manage',array('pid'=>$v['id']));
            $edit   = U('node/edit',array('id'=>$v['id'],'pid'=>$v['pid']));
            $delete = U('node/delete',array('id'=>$v['id']));
			$node   = U('node/accredit', array('id'=>$v['id']));
        ?>
        <tr>
			<td class="tc"><input type="checkbox" value="" class="checkbox" /></td>
			<td class="tl"> <a class="a" href="<?=$children?>"><?=$v['name']?></a> </td>
			<td class="tl"> <a class="a" href="<?=$edit?>"><?=$v['title']?></a> </td>
			<td class="tl"> <?=$v['remark']?> </td>
			<td class="tl"> <a href="<?=$children?>" title="子级节点"><img src="<?=$tplPath?>/img/icons/small/bubble.png" alt="子级节点" /></a> &nbsp; <a href="<?=$node?>" title="角色授权"><img src="<?=$tplPath?>img/icons/small/key.png" alt="角色授权" border="0" /></a> &nbsp; <a href="<?=$edit?>" title="编辑节点"><img src="<?=$tplPath?>img/icons/small/edit.png" alt="编辑节点" border="0" /></a> &nbsp; <a href="<?=$delete?>" title="删除节点"><img src="<?=$tplPath?>img/icons/small/delete.png" alt="删除节点" border="0" /></a> &nbsp;</td>
		</tr>
      <?php } ?>
      </tbody>
</table>
</div>
</div>
<!-- End Table --></div>

<!-- layout::Admin:iframe/footer::$tpl_cache_date -->